Skip to content

Add test for Literal and enum incompatibility#20613

Merged
hauntsaninja merged 1 commit intopython:masterfrom
hauntsaninja:enumtest
Jan 18, 2026
Merged

Add test for Literal and enum incompatibility#20613
hauntsaninja merged 1 commit intopython:masterfrom
hauntsaninja:enumtest

Conversation

@hauntsaninja
Copy link
Collaborator

@hauntsaninja hauntsaninja commented Jan 18, 2026

See https://discuss.python.org/t/amend-pep-586-to-make-enum-values-subtypes-of-literal/59456
See #19616 and #19617

This test cases ensures if we make changes here we consciously think about this potential unsoundness

See https://discuss.python.org/t/amend-pep-586-to-make-enum-values-subtypes-of-literal/59456
See python#19616 and python#19617

This test cases ensures if we make changes here we consciously think
about this potential unsoundness
@hauntsaninja hauntsaninja merged commit 33c0d0a into python:master Jan 18, 2026
16 checks passed
@hauntsaninja hauntsaninja deleted the enumtest branch January 18, 2026 04:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant